# -*- coding: utf-8 -*-
# @Author : Yuan
from django.urls import path
from apps.areas.views import *


urlpatterns = [
    path('areas/', AreasView.as_view()),
    path('areas/<id>/', SubAreasView.as_view()),
    path('addresses/create/', AddressesView.as_view()),
    path('addresses/', AddressesView.as_view()),
    path('addresses/<address_id>/', AddressesView.as_view()),
    path('addresses/<address_id>/default/', SetDefaultAddress.as_view()),
    path('addresses/<address_id>/title/', UpdateAddressTitle.as_view()),
]

